﻿Public Class Jugador : Implements IEquatable(Of Jugador)

    Public Property Nombre As String = ""
    Public Property Batallones As New List(Of Batallon)
    Public Property listainf As New List(Of Infanteria)
    Public Property listaarq As New List(Of Arquero)
    Public Property listacab As New List(Of Caballeria)
    Public Property listamago As New List(Of Mago)
    Public Property listadrag As New List(Of Dragon)
    Public Property listacamp As New List(Of Campeon)
    Public Property miEstructura As New Estructura
    Public Property puntos As Integer

    Public Sub New(ByVal nombre As String)
        Me.Nombre = nombre
    End Sub

    Public Sub New()

    End Sub

    Public Overloads Function Equals(ByVal other As Jugador) As Boolean Implements System.IEquatable(Of Jugador).Equals
        Return Me.Nombre = other.Nombre
    End Function
End Class
